from fastapi import FastAPI

app = FastAPI()

@app.get('/health')
async def health_check():
    return {'health': 'ok'}


@app.get('/hello/{name}')
async def hello(name: str):
    return {'hello': f'hello {name}'}